All Questions
6 questions
2votes
2answers
108views
OOP refactoring technique
I'm teaching myself Object Oriented Programming in JavaScript and I'm looking over this small P5 code of CodingTrain's No.78, which deals with flying particles in the canvas, as a material. The full ...
1vote
0answers
497views
Fetching weather data from API
I was experimenting with some code to fetch the current weather data as well as getting the hourly forecast. I could have done ...
1vote
2answers
140views
Print bounding box in the terminal
Right now I am finding ways to write better code in javascript and I see many coding styles used by different authors but right now I am thinking to write code which adheres to the object oriented ...
1vote
1answer
2kviews
Splitwise clone done right
I have started this project basically for learning perspective and wanted to learn good object oriented design. What I am trying to do is making clone of something like this but this is a command line ...
0votes
1answer
1kviews
Binary to decimal converter in JavaScript
This exercise with a test suite is from here. I did not intend to use ES6 features, it's plain old JavaScript. That's why I seek advice more on the good practices, performance side, than modern syntax....
6votes
2answers
588views
Library assistant
HackerRank currently has '7 days of JavaScript' going, a quick intro into the JavaScript language. Every day a couple of challenges will be made available. One of the challenges of today was this: ...